package BuilderPattern;
public class Main {
    public static void main(String[] args) {

        CarDirector director1 = new CarDirector(new CarBuilderBMW());

        CarDirector director2 = new CarDirector(new CarBuilderVW());

        ProductCar car1 = director1.constructCar();

        ProductCar car2 = director2.constructCar();

        System.out.println(car1.toString());

        System.out.println(car2.toString());

    }
}